﻿using AutoMapper;
using Domain.Com;
using DTO.DTO.Com.BasicType;

namespace Api.Framework
{
    public class AutoMapperProfile : Profile
    {
        public AutoMapperProfile()
        {
            AddGlobalIgnore("IsDelete");
            AddGlobalIgnore("CreateUserId");
            AddGlobalIgnore("CreateTime");
            AddGlobalIgnore("UpdateUserId");
            AddGlobalIgnore("UpdateTime");

            CreateMap<BasicType, BasicTypeListDTO>();
        }
    }
}